/* ===== RESET & BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  height: 100%;
}

/* ===== MAIN CONTAINER ===== */
#cheapPackagePage {
  --cp-red: #c92a2a;
  --cp-red-dark: #a51d1d;
  --cp-dark: #1e1a17;
  --cp-gray: #4d3e37;
  --cp-light: #f5f0ea;
  --cp-white: #ffffff;
  --whatsapp-green: #25D366;
  --navbar-h: 80px;

  font-family: 'Inter', 'Segoe UI', Roboto, system-ui, sans-serif;
  color: var(--cp-dark);
  background: linear-gradient(rgba(66, 65, 65, 0.85), rgba(203, 201, 201, 0.543)), 
              url('../Images/Cheap Umrah Package Background.jpg') center/cover fixed no-repeat;
  padding: 0 20px 70px;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  display: none;
}

#cheapPackagePage::-webkit-scrollbar {
  display: none;
}

#cheapPackagePage .wrap {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  padding-top: var(--navbar-h);
  min-height: 100vh;
}

/* ===== HERO BACKGROUND ===== */
#cheapPackagePage .bg-photo {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 520px;
  background:
    linear-gradient(160deg, rgba(201, 42, 42, 0.96) 0%, rgba(165, 29, 29, 0.92) 40%, rgba(201, 42, 42, 0.6) 70%, rgba(252, 248, 242, 0) 100%),
    url('../Images/Book Umrah Packages UK Cheap Umrah package with 3 4 5 start hotels from Uk.png') center/cover no-repeat;
  z-index: 0;
  pointer-events: none;
}

/* ===== INTRO SECTION ===== */
#cheapPackagePage .cp-intro {
  text-align: center;
  color: #fff;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
  padding-top: 12px;
}

#cheapPackagePage .cp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fcd9d9;
  margin-bottom: 8px;
}

#cheapPackagePage .cp-eyebrow::before,
#cheapPackagePage .cp-eyebrow::after {
  content: "";
  width: 28px;
  height: 2px;
  background: #f0b3b3;
  opacity: .7;
}

#cheapPackagePage .cp-intro h1 {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 700;
  font-size: clamp(28px, 4.2vw, 46px);
  margin: 8px 0 14px;
  letter-spacing: -.01em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  line-height: 1.15;
}

#cheapPackagePage .cp-intro p {
  max-width: 660px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.92);
  font-size: 16px;
  line-height: 1.6;
}

/* ===== SEARCH BAR ===== */
#cheapPackagePage .searchbar {
  position: relative;
  margin: 20px auto 0;
  max-width: 1000px;
  background: var(--cp-white);
  border-radius: 18px;
  box-shadow: 0 20px 40px rgba(165, 29, 29, 0.15);
  padding: 12px;
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  align-items: center;
  z-index: 20;
  border: 1px solid #e4dbcd;
}

#cheapPackagePage .field {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border-radius: 12px;
  background: var(--cp-light);
  border: 1.5px solid transparent;
  color: var(--cp-dark);
  font-size: 14px;
  transition: all .2s;
  flex: 1 1 0;
  min-width: 0;
  height: 48px;
}

#cheapPackagePage .field:hover {
  background: #efe8df;
}

#cheapPackagePage .field:focus-within {
  border-color: var(--cp-red);
  background: var(--cp-white);
  box-shadow: 0 0 0 3px rgba(201, 42, 42, 0.12);
}

#cheapPackagePage .field .icon {
  display: flex;
  flex-shrink: 0;
  color: var(--cp-red);
}

#cheapPackagePage .field input,
#cheapPackagePage .field select {
  border: none;
  background: transparent;
  font-size: 14px;
  color: var(--cp-dark);
  font-family: inherit;
  width: 100%;
  outline: none;
  height: 100%;
  min-width: 0;
}

#cheapPackagePage .field input::placeholder {
  color: #a59584;
}

#cheapPackagePage .field select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

#cheapPackagePage .field .chev {
  margin-left: auto;
  color: #a59584;
  flex-shrink: 0;
}

/* ===== BOOK NOW BUTTON ===== */
#cheapPackagePage .searchbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 24px;
  border: none;
  border-radius: 12px;
  background: var(--cp-red);
  color: var(--cp-white);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  transition: all .25s;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(201, 42, 42, 0.35);
}

#cheapPackagePage .searchbtn:hover {
  background: var(--cp-red-dark);
  transform: scale(1.02) translateY(-2px);
  box-shadow: 0 10px 24px rgba(201, 42, 42, 0.45);
}

#cheapPackagePage .searchbtn:active {
  transform: scale(0.96);
}

#cheapPackagePage .searchbtn .btn-arrow {
  display: flex;
  align-items: center;
}

/* ===== SECTION TITLE ===== */
#cheapPackagePage .more-title {
  text-align: center;
  margin: 28px 0 10px;
  position: relative;
  z-index: 1;
}

#cheapPackagePage .cp-arch-divider {
  width: 48px;
  height: 48px;
  margin: 0 auto 10px;
  border: 2px solid var(--cp-white);
  border-bottom: none;
  border-radius: 48px 48px 0 0;
  position: relative;
}

#cheapPackagePage .cp-arch-divider::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2px;
  transform: translateX(-50%);
  width: 2px;
  height: 14px;
  background: var(--cp-white);
}

#cheapPackagePage .cp-arch-divider .arch-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 22px;
  color: var(--cp-white);
  line-height: 1;
}

#cheapPackagePage .more-title h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(22px, 3vw, 32px);
  margin: 0 0 8px;
  color: var(--cp-white);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  line-height: 1.25;
}

#cheapPackagePage #h3-book {
  color: #ffffff !important;
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
}

#cheapPackagePage .more-title p {
  color: var(--cp-white) !important;
  font-size: 15px;
  font-weight: 400;
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.7;
}

#cheapPackagePage .more-title p.deposit-msg {
  color: #a51d1d !important;
  font-weight: 600;
  background: #fce8e8;
  padding: 12px 18px;
  border-radius: 60px;
  display: inline-block;
  margin-top: 6px;
  border: 1px solid #f5c2c2;
  text-shadow: none !important;
}

/* ===== CARDS GRID ===== */
#cheapPackagePage .cards,
#cheapPackagePage .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 26px;
  max-width: 1200px;
  margin: 48px auto 0;
  position: relative;
  z-index: 1;
}

/* ===== INDIVIDUAL CARD ===== */
#cheapPackagePage .card {
  background: var(--cp-white);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(28, 26, 21, 0.08);
  border: 1px solid #e4dbcd;
  position: relative;
  opacity: 0;
  transform: translateY(28px);
  animation: cpRise .6s cubic-bezier(.2, .8, .2, 1) forwards;
  transition: all .3s ease;
}

#cheapPackagePage .cards .card:nth-child(1) { animation-delay: .04s; }
#cheapPackagePage .cards .card:nth-child(2) { animation-delay: .10s; }
#cheapPackagePage .cards .card:nth-child(3) { animation-delay: .16s; }

#cheapPackagePage .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(28, 26, 21, 0.12);
}

@keyframes cpRise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== CARD IMAGE ===== */
#cheapPackagePage .card .cp-img-wrap {
  position: relative;
  padding: 14px 14px 0;
  background: #f7f0e8;
}

#cheapPackagePage .cp-img-wrap img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 120px 120px 12px 12px;
  transition: transform .5s ease;
}

#cheapPackagePage .card:hover img {
  transform: scale(1.03);
}

/* ===== CARD BODY ===== */
#cheapPackagePage .card-body {
  padding: 18px 20px 22px;
}

#cheapPackagePage .card-body h3 {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 700;
  color: #1e1a17 !important;
  font-family: Georgia, 'Times New Roman', serif;
}

#cheapPackagePage .price {
  font-size: 26px;
  font-weight: 800;
  color: #c92a2a !important;
  margin: 0 0 4px;
}

#cheapPackagePage .price span {
  font-size: 13px;
  font-weight: 500;
  color: #4d3e37 !important;
}

#cheapPackagePage .duration {
  font-size: 13px;
  color: #4d3e37 !important;
  margin: 0 0 12px;
  padding-bottom: 12px;
  border-bottom: 1px dashed #e4dbcd;
}

#cheapPackagePage .includes-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #4d3e37 !important;
  margin-bottom: 8px;
}

#cheapPackagePage .includes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 12px;
  margin-bottom: 18px;
}

#cheapPackagePage .includes div {
  font-size: 12.5px;
  color: #1e1a17 !important;
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
  padding-left: 20px;
}

#cheapPackagePage .includes div::before {
  content: "";
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #e8f5e9;
  border: 1.5px solid var(--whatsapp-green);
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

#cheapPackagePage .includes div::after {
  content: "✓";
  position: absolute;
  left: 3px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--whatsapp-green);
  font-weight: 700;
  font-size: 9px;
  line-height: 1;
}

/* ===== BADGE ===== */
#cheapPackagePage .badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--cp-red);
  color: var(--cp-white);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 30px;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(201, 42, 42, 0.3);
}

/* ===== CONTACT BUTTON ===== */
#cheapPackagePage .contact-btn {
  width: 100%;
  background: var(--cp-red);
  color: var(--cp-white);
  border: none;
  padding: 13px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all .25s;
  min-height: 46px;
  box-shadow: 0 4px 10px rgba(201, 42, 42, 0.25);
}

#cheapPackagePage .contact-btn:hover {
  background: var(--cp-red-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(201, 42, 42, 0.35);
}

#cheapPackagePage .contact-btn:active {
  transform: scale(0.97);
}

/* ===== RIPPLE EFFECT ===== */
#cheapPackagePage .searchbtn .btn-ripple,
#cheapPackagePage .contact-btn .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  transform: scale(0);
  animation: cpRipple .6s linear forwards;
  pointer-events: none;
}

@keyframes cpRipple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* ===== GRID CARDS SCROLL REVEAL ===== */
#cheapPackagePage .grid .card {
  opacity: 0;
  transform: translateY(30px);
  animation: none;
  transition: all .5s cubic-bezier(.2, .8, .2, 1);
}

#cheapPackagePage .grid .card.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  #cheapPackagePage .searchbar {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    justify-content: flex-start;
    padding: 10px;
    gap: 6px;
  }

  #cheapPackagePage .searchbar::-webkit-scrollbar {
    display: none;
  }

  #cheapPackagePage .field {
    min-width: 160px;
    flex: 0 0 auto;
    height: 44px;
    padding: 0 12px;
  }

  #cheapPackagePage .searchbtn {
    flex: 0 0 auto;
    height: 44px;
    padding: 0 18px;
  }
}

@media (max-width: 768px) {
  #cheapPackagePage {
    --navbar-h: 60px;
    padding: 0 14px 50px;
  }

  #cheapPackagePage .bg-photo {
    height: 400px;
  }

  #cheapPackagePage .cp-intro {
    padding-top: 8px;
    margin-bottom: 22px;
  }

  #cheapPackagePage .cp-intro h1 {
    font-size: 24px;
  }

  #cheapPackagePage .cp-intro p {
    font-size: 14px;
  }

  #cheapPackagePage .cards,
  #cheapPackagePage .grid {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 32px;
  }

  #cheapPackagePage .cp-img-wrap img {
    height: 200px;
    border-radius: 90px 90px 8px 8px;
  }

  #cheapPackagePage .more-title {
    margin: 20px 0 6px;
  }

  #cheapPackagePage .field input,
  #cheapPackagePage .field select {
    font-size: 13px;
  }

  #cheapPackagePage .more-title p {
    font-size: 14px;
  }

  #cheapPackagePage .more-title h2 {
    font-size: 20px;
  }
}

@media (max-width: 420px) {
  #cheapPackagePage .cp-intro h1 {
    font-size: 21px;
  }

  #cheapPackagePage .cp-img-wrap img {
    height: 170px;
  }

  #cheapPackagePage .card-body {
    padding: 14px 16px 18px;
  }

  #cheapPackagePage .price {
    font-size: 22px;
  }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  #cheapPackagePage,
  #cheapPackagePage * {
    animation: none !important;
    transition: none !important;
  }

  #cheapPackagePage .card,
  #cheapPackagePage .grid .card {
    opacity: 1;
    transform: none;
  }
}